package com.ls.herostory.login;

import org.apache.ibatis.annotations.Param;

/**
 * @author liangsu
 * @version v1.0
 * @Description
 * @Date 2020/10/14 9:42
 * @since
 */
public interface UserMapper {

    User getByUserName(String userName);

    int save(@Param("user") User user);

    int update(@Param("user")User user);

    User getById(@Param("id")Integer id);
}
